package com.yantong.mapper;

import com.yantong.pojo.MemberWxcard;
import com.yantong.pojo.MemberWxcardExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MemberWxcardMapper {
    long countByExample(MemberWxcardExample example);

    int deleteByExample(MemberWxcardExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MemberWxcard record);

    int insertSelective(MemberWxcard record);

    List<MemberWxcard> selectByExample(MemberWxcardExample example);

    MemberWxcard selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MemberWxcard record, @Param("example") MemberWxcardExample example);

    int updateByExample(@Param("record") MemberWxcard record, @Param("example") MemberWxcardExample example);

    int updateByPrimaryKeySelective(MemberWxcard record);

    int updateByPrimaryKey(MemberWxcard record);


    List<MemberWxcard> selectbymidAndCentreIdAndType(@Param("mid") Long mid, @Param("centreId") Long centreId, @Param("type") Integer type);


}